From: Stefan Monnier Date: Thu, 10 May 2007 06:00:48 +0000 (+0000) Subject: (tex-font-lock-keywords-2): Add citet and citep X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~18906 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=a5caa41fd2a6fde3ec21c29d1d938f8277fac73e;p=emacs.git (tex-font-lock-keywords-2): Add citet and citep to the list of citation commands. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index af14d48bd9d..2cae02f11a4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-05-09 Stefan Monnier + + * textmodes/tex-mode.el (tex-font-lock-keywords-2): Add citet and citep + to the list of citation commands. + 2007-05-09 Stefan Monnier * vc-hooks.el (vc-find-root): Stop searching when the user changes. diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index b5ca77e5853..5757100468b 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -527,6 +527,8 @@ An alternative value is \" . \", if you use a font with a narrow period." (citations (regexp-opt '("label" "ref" "pageref" "vref" "eqref" "cite" "nocite" "index" "glossary" "bibitem" + ;; natbib's two variants of \cite: + "citep" "citet" ;; These are text, rather than citations. ;; "caption" "footnote" "footnotemark" "footnotetext" )